#ifndef PORTAL_BUF_QUEUE_H
#define PORTAL_BUF_QUEUE_H
#include<queue>
#include"c3pom/portal.h"
#include"c3pom/macro.h"
REG_CLASS(queue);
class queue:public c3pom::PortalBuf
{
	private:
		std::queue<c3pom::PortalBlock*> q;
	public:
		c3pom::PortalBlock* pop();
		void push(c3pom::PortalBlock*);
		int length();
};
#endif
